// 支付宝认证相关方法
export const alipayRedirect = (appid, uri) => {
    const redirect_uri = encodeURIComponent(uri);
    // 待确定，是否需要获取用户信息
    window.location.href = `https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id=${appid}&scope=auth_user&redirect_uri=${redirect_uri}&state=init`;
};
